import { DatePickType } from 'element-plus'

export interface Props {
  modelValue: [string, string] | string
  type: DatePickType
  /** 是否显示快速选择按钮 */
  showFastBtn?: boolean
  format?: string
}

export const defaultProps = {
  modelValue: () => '',
  type: 'date',
  showFastBtn: false,
  format: 'YYYY-MM-DD'
} as const
